package com.wanxi.school;

public class Student extends SchoolPeople{
    private int number;
    public Student() {
    }

    public Student(String name, int age) {
        super(name, age);
    }

    public Student(String name, int age, int number) {
        super(name, age);
        this.number = number;
    }

    @Override
    public void work() {
        System.out.println("好好学习");
    }


}
